<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="../include/tag.jsp" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <title>同行者-社群服务平台</title>
    <%@include file="../include/commonFile.jsp" %>
    <link rel="stylesheet" href="${ctx}/css/ui/crm/articleList.css"/>
</head>
<body>
<%@include file="../include/header2.jsp" %>
<!--滚动-->
<div class="g-box ctn-mn  clearfix">
    <div class="f-list-out" style="min-height: calc(70vh);padding:100px 50px 10px;">
        <p class="tt">• ${type.label}</p>
        <form class="layui-form" action="${ctx}/article/article/indexArticleFindByType.do?articleType=${type.value}" id="myForm" method="post">
            <input type="hidden" name="pageNo" id="pageNo" value="${page.page}"/>
        </form>
        <ul class="list">
            <c:forEach var="article" items="${articleList}">
            <li>
                <a href="${ctx}/article/article/indexArticleDetail.do?id=${article.id}">${article.title}</a>
            </li>
            </c:forEach>
        </ul>
    </div>
    <div id="page_content" class="page-container r" style="margin-right:50px;margin-bottom:50px;"></div>
</div>
<%@include file="../include/footer1.jsp" %>
<script type="text/javascript" src="${ctx}/script/common/list.js"></script>
<script>
    var headNavIdx = 0
    $(function () {
        loadPageNew({
            elem: 'page_content',
            totalCount: '${page.totalCount}',
            page: '${page.page}',
            limit: '${page.limit}'
        });
    })
</script>
</body>
</html>